package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 
 *
 * @author flyme
 * @date 2019-11-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_trade_detail")
@TableAlias("btd")
@ApiModel(value="BusTradeDetail对象", description="")
public class BusTradeDetail extends AbstractEntity {

private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "主键")
    @TableId(value = "tradeDetailId", type = IdType.ID_WORKER)
    private Long tradeDetailId;

    @ApiModelProperty(value = "账户提现id")
    private Long tradeId;

    @ApiModelProperty(value = "开户行号")
    private String bankNo;

    @ApiModelProperty(value = "开户行名称")
    private String bankName;

    @ApiModelProperty(value = "开户行地址")
    private String bankAddress;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "提现人")
    private Long userId;

}
